corrected calculations