exposing env memory