now the shell can get average from a ping