this is the type index