Commited why there was a wait variable.