adding option to search for string in rs