add method to details of a job