Modified to work with the new itemDatabase Map within the Item class.