add job
refactoring