exercices 3.5 completed