adding steps and transitions