added global environment