Added search box function