creates env.