change to proto type