exercice define your own class