done last example for chapter 'Inner Classes'