Added global variables.