add inventory class back