a diagram of a train