base class for comparing data
assist class for helping base class