idents the array correctly