function's inventory is currently private.