Global var addition

Added global variables.