MASTER PURCHASE AGREEMENT