routes and ids and all that stuff