moved external job class methods into the job class as static methods