add finishIt function for the steps