legal diligence