added CompareWindow