tidy methods and routes