setup for basic indexing example