search and preview integration