What to do when a train arrives