added eachSlice to Array