working on protobuf stuff