protobuff and chat stuff