Basic work on the index