storing repeated string index