fixed b

jv to jn, and rearranged parameters