using env in Nand