search input working