environment class edit