new pathdiff