Added step checking to Random