add job function