Intersection gates are lowered while train speeds by