modification to index