update for exercice 3