changing array index added