implement iface_connect