adding ability to define environment of operations, fixing #10