copy over newPing.cpp