refactor pipeline