refactoring pulp&moncov steps