added live PID debugging