added search using haystack