reordering examples and adding indexing stuff