add search snippets (one with loop included)