how to retrieve an item from a set site:stackoverflow.com - Search