Better interface
job_t and result_t types