PID code for LFR