- implemented function getJob to get job information via jobId