legal opinion on validity and enforceability