now support global variable