added class and handler for search field