changed STATES to STEPS