Added in array validation