confirmation of a contract by the court