implement base Env functions