added structure for search input