added routes and partials