Replaced nconc w/ setq & append. Replaced let w/ setq to fix variable persistence.