modify by reg