Created a function to verify items on list