added inventory method