proto conversion