Moving cookie and randompass into random