Confirm_Worker ported to C++