added copyright and license