extended the environment manager