Reset and random methods are now less repetitive