allow users to select search type