minor change in charges calculation