split get_departures into get_filtered_departures and make_infoboard_lines