optimizing job