initial indexing + tests