example of wait