adding functions for randomizing
randomizing values in lab