reformatting in API style handshake