added global variable