fixing array 2d example