Formatting list from search