Start of adding the index curve