Title: A framework for the analysis of bank failures