first working version of the symbol table