Playing with global variables