MASTER PURCHASING AGREEMENT