exercises chapter 3
changed layout