implemented more symbol table and resolved ambiguity