changed let to let*, added proper let, added to procedure and trimmed SymTabStack