makeshift routing and indentation fix