Once in the pan, the loco's job is to quickly arrange the empty wagons along the temporary lines and collect the loaded wagons for the journey back to the factory.