fixed up b_n