bsd license, fixes #3