fixed calculations for points