work on the building nextStep function