console is global variable