added iterator to filterEnv