modify point logic