figuring out routes