Made addStep method public