route based on indexing is working