Gathering information before the contract is offered: The case with two states of nature