ajout function normal to smc