Link the contract