added missig gpl bits