added global env