added a Ping object; much easier!