use the protobuffer class instead of trying to build it with strings