It is too much logic to the ViewController. You could create a BusRoutesService to handle it for you.