refactoring sequence specification methods