make indexing faster