adding protobuf stuff