simplify the routes definition