refactor seconds steps