I don't understand the purpose of waitTillReady.