Some code that illustrates patterns