create and assign value to variable env