Readded commented code.  Changed $i to the pid of the person