added open flag to connect