put worker job inside if statement