defines the contract, the DOM