index name instead of type-guide