half-baked protobuf integration