should this validate it the array is `null` or empty?