Exercise 7: Search and export