updated chapter 4 interface