There are two sets of engines and driving wheels. This front portion has a pivot toward the rear that allows it to "bend" relative to the boiler to negotiate tighter curves.