Accidentally removed Random module in call to rand