passing tests at the end of section 3.6