optimized the job