Making Environment a function
as for get/set