changed array index