Added showSearch option