using the proto file