removed endJob