A man in coveralls is maintaining a locomotive .