added beep to wait