Fixing ping example