reconciling ex6 solution, sore more work needs to be done