waiting for the train to cross in MT