Adjusting the PID code