Added index renderer instead of indexView made it more universal