ping class