added a license (3-clause BSD)