Eliminates globals from Purchase_Plan