added class for exercice 7C