Add PLOSS, PDUP and PDELAY as arguments and implement them