CALCULATE CHARGING