createjob and isjobdone query, no dependency injection yet