add a check for steps