Arrays and changing the indexes