changed symbolTable into a hashMap