exercice11-refactor