changed sdc calculation