additional debugging for loan rule problem