added class determination strategy and its concrete comparer.