added scoping into symtable