Added experimental connect function