modified exercice7, improved