added chapter 1 bad example - this will be refactored