changes i point calculation
added total points table