making environment a static variable