i would like to have this function too