updated cancellation_helper