A train engine operating