use random not rand