point calculation for order