debut notifications + factorisation du code