changed instantiation of drienvironment