functional job execution and error handling