ADD: minor changes in CompareDemo