added a method to enqueue a job