var wait = true;