removing duplication from steps