documentation in inventory.py