Formatting Routing code