adding futureEnv and some fixes