Now using InvokeRepeating instead of custom wait