added copyright and GPL notices