testing if array is working [slice]