Basic functionality for creating indexes works