waitForInit