index with examples