replaced by ConfirmType