Essays on debt financing