implement the purchase order