get all jobs method