modified the global_functions.h and protobuf