added addJob check