Enviroment.main() has opCount() needs further checking but seems useless
Enviroment.main() has opCount() needs further checking but seems useless