corrected calculation