adding logic to saveJob
saveJob works