added search functionality w/ haystack