Reworked the repercent implementation.