Added connect()