adding option to search by terms