adding protobuf