implemented RootEnvironment class