adding jobs functionality