updated to BSD license