refactored pull tasks