added some logic for jobsprocessing, magically somehow not working...