Put waitWhile() back
Fix: name -> getName