stupid-ass changes for chapter 5 challenges.