comparer works but does not quit properly yet