uses a symbol table to search a text