track the inventory and the variables.  add a place for local inventory