improvement of the class Partie