Non puoi in base ai parametri decidere quando chiamare o meno la funzione?