works with waiter stub