Streamlined the randomOn() method to be faster