Implements advanced setup, chapter 3.6