routes and model complete