Added for loop if only 1 worker