Legal opinion and contract termination