WIP - building symbol table