Added getJobs() method