commented out  global variable connection to localhost