getJobInfo() made better