Deductions & credits

I di close and relaunch the loop is still there.  Suggest you test and debug program.  It is very frustrating to have such a sophomoric error.