changed variables to: inventory