fonctions de protection pour surcharge