starting the trains exercise