That is the diesel engine that was doing all the real work in shoving the train along. Note that in the actual Thomas the Tank Engine stories, diesel engines are usually the enemies of the steam trains like Thomas.
Photo album created with Web Album Generator