I see what your saying but since I have previously listed all the processes running for the user, you are already pulling the pid from a valid list so I don't see the need for the is_valid, I know the code for that wasn't listed but it was a previous part of the code. So do I still need validate it? I guess i might need to in case of typo?