adds seprate contexts for env states