create the connection variable global