Got PID working