structure for routes