refactor sequence