Modified create indexkey