determines which items are on list