Implemented global variable definition