specialise type indexing