almost finish symbol table part