redoing _environment
Merge pull request #87 from yetanotherhacker/innerenv

redoing _environment