add functions in class chemin