primer: index creation examples