finished the 'Enviroment Controller'