started reimplementing the inventory methods.