For the corporate business model to be successful, it is important to align the interests of those who control and finance the firm. Corporate law has here an important task to fulfill. It offers a legal framework that can facilitate parties to conclude mutually preferable agreements at low transaction costs. The purpose of this paper is to show how to design corporate law to fulfill this task and apply this knowledge to a Swedish case. [---]