output variables are arrays
License changed from GPL to FreeBSD