added ping speed check