changes to itemDatabase.cpp