trying new array method