added supoort for ping