implemented add jobs functionality