A man is operating a chain to work on a train.