The role of government and financial institutions during a housing market crisis