added ptascompare