mod - readding the env feature