Removed unneeded PID variable