offer to purchase and contract