explanation of calculation