Add inventory item model function