added calculation of points for ranking tips