running get routes just once