cleaning up and refactoring batch jobs