add a wait