formatting for routes class