Why did the Pentateuch receive the shape it did, and how does the formation of the Pentateuch relate to its increasing status as canonical literature? In particular, what is the role of the legal material in these processes?