clear confusion between envs and set_envs