updated reading in the rands
added new rand funcs