allows trains to arrive and depart