due diligence and risk analysis