added copyright and style