handle arrays of licenses