Added global vars