made the routes more idiomatic