New Check_PID func