Solving the capital structure puzzle door