Making environment a map