Ok, here is the problem.

Ok, I tried it. I get an error stating: 'pingRange' was not declared in this scope I know there is a learning process but this is kind of getting to me. On the plus side I don't quit and I'm off this weekend. So back to the drawing board. Thank you.