working on ch6, scenario2