environment class done