add plugin for search in function