random perks code (commented out because it's random in my random, sometimes it works sometimes it doesn't)