wip on key/val envs