corrected f_i