Added first function to retrieve item name from database