Note: this is quite an easy to follow diagram from Insolvency website