new protocol
bug fixes