Implemented epsilon in chapter 3