Function to retrieve the list of workers