Added function getPing()