public Symbol insert(String name) throws RedeclarationError
    {
    	// scan local list for a redeclaration of symbol with same name
    	//System.out.println("DEBUG: symTable for inner symTable" + symTable.toString());
    	for(Symbol s: this.symTable){
    		if(s.name().equals(name)){
    			throw new RedeclarationError(s);
    		}
    	}
    	// else it hasn't been declared. so make a new symbol and add it to
    	// the local list
    	Symbol tempSym = new Symbol(name);
    	this.symTable.add(tempSym);
    	return tempSym;
    }