Learned counsel for the appellant maintained that, as prior to bankruptcy the Court of Equity would have restrained misapplication of the money lent to any purpose other than that agreed upon and would have restrained departure from the agreed destination of the proceeds of sale of the goods, the rights protected by such remedy survived, notwithstanding the bankruptcy of Johnstone, and have not been affected by the agreement of May 1921, since that has been avoided. As to the survival of the rights, the test is the nature of the rights themselves before bankruptcy, and not whether the remedy of injunction or specific performance would have been available to the appellant as against Johnstone, before the latter's bankruptcy. Indeed, if Carey's protection depended simply on specific performance, it would indicate his failure now, because it would demonstrate that his only rights up to bankruptcy were contractual, and therefore, bankruptcy intervening, that remedy was gone. Carey can only succeed if he establishes, not that he would have succeeded against Johnstone on a personal contract, to which equity applies the remedy of specific performance as a better remedy than damages, but that by the agreement of April 1917 there arose, once the goods were purchased, a trust or interest in those goods - that is to say, a trust or interest attaching to the goods automatically on their purchase and binding on the conscience of Johnstone to deal with them as agreed upon so as to place their proceeds in the hands of Carey as provided in the agreement. That depends on the construction of the document read as a whole and in relation to the circumstances. The dominant purpose of the instrument as evident from its tenor was that Carey should not have to rely on the personal undertaking of Johnstone to repay the money lent as a mere unsecured debt. He was to be entrusted with the money only upon the terms that it should be applied exclusively to purchasing goods for the business, that it should be transformed into goods, and that the goods, once purchased, were to be retransformed "as soon as possible" by business operations into money and that money should be handed in specie, that is, the full actual proceeds, to the appellant, and these should be in the sole control of the appellant for distribution according to agreement. All that Johnstone was entitled to was a certain proportion of the gross profits after deducting the money lent.