Uncommented code to handle route maps more easily