damages are the preferred remedy awarded by courts. Where the court determines damages not to provide an adequate remedy for a breach of contract, they may provide for specific performance or an injunction. Specific performance is an equitable remedy whereby a court directs a party to perform a specific act, such as to complete performance of one or more obligations under the contract. Specific performance is almost never available for contracts of personal service, although performance may also be ensured through the threat of proceedings for contempt of court. In extremely rare circumstances, particularly in connection with a duty of good faith, a court may also issue an injunction prohibiting a party from taking a specific course of action or (in the case of the duty to negotiate in good faith) requiring a party to resume negotiations. Additionally, the remedies of set-off and netting are generally available only in the context of complex financial obligations. In Québec, provisions surrounding specific relief are generally outlined in section 1590 of the civil code, which provides that "an obligation confers on the creditor the right to demand that the obligation be performed in full, properly and without delay". Where, without adequate justification, a party to a contract fails to perform their obligation; the other party may "force specific performance of the obligation"; set-off, net, or lawfully default on their own obligations; or "take any other measure provided by law". The rules regarding specific performance and set-off/netting are outlined in sections 1601-1603 and sections 1604-1606 respectively, which provide for formalities regarding notice to the defaulting party. The code makes special provisions for a party to seek performance by equivalence in sections 1607-1610. Courts will issue injunctions and orders for specific performance where necessary in order to enable a party to exercise a remedy provided for by the civil code or where it is necessary in the interests of fairness, e.g. where a party has violated a duty of good faith or where a contract is invalid. In all provinces, the remedy of set-off and netting are available where provided for by a set-off clause or netting agreement in a contract. Such clauses primarily appear in financial investment contracts, particularly in master agreements between large investors. Such agreements typically provide for the obligations of parties to be balanced against such that a party may consider its pecuniary obligations to another party fully or partially discharged