added error handling, hacking job creation