work in progress for points calculation
work in progress for points calculation