A man is working to repair a train.