Complete exercise10.7