Tryign with global vars