build a workspace with most of the data, functions and results of chapter 6