Added a PID output to snippet