A man is trying to repair a train.