Ontario invests in transit system