Legal opinion and due diligence