fix up method to ensure it knows how many workers are needed