We propose a dynamic structural model of a loan portfolio, secured by collaterals. Contrary to existing dynamic models, our model takes into account the time-dependence of the debtors' wealth and the fact that, due to defaults, the financial health within the portfolio improves in comparison to...