[TODO] protocol error handling expected