some work on search snippets + legend