work off the jobQueue is now in a seperate function