use easy way of array