use .connect instead of .open