need to run the inventory function in the database for it to do anything