change the array representation