applied changes to solution of chapter 6
Merge remote-tracking branch 'origin/master'