replaced ping by stats