added the protobuf stuff