made changes from randInt to floating random numbers