Trying to finish chapter 3