Change printing of array