working on envars