more logic for inventory item actions