changed the variable to a > than sign