removed rando func