rake to calculate achievement