exerise 6 improved