added and tested ping