support simple handshake