changed JobAddResource to JobResource