add reset example to chapter 3