repair add step functionality