renamed type-guide to index