for test waiter