example showing async dispatching behavior