started implementing TAP handshake