Added number_of_workers option