added ability to resume job