added rand stuff