fixed j instead of proc_amt