added rand module