updated to bsd 3 clause.