started adding logic for steps