search and filter and dump