Figure out how to add an index