added connect and interface