added point_compar