Title: A theory of corporate financial structure based on the seniority of claims