adding environment state