indexing works now