allocating and mapping env array