Non esiste la funzione wait() ?