add copyright and remove setter/getter