a little advanced search helper to work on to maintain sanity