A man in overalls is working on a train engine sitting idly on the tracks .