Better simpleenvironment. Alex helped with 1 line of code