Can now choose between search types