A man is doing some kind of maintenance work on a train.