method to compare points added