started code to analyze ping results