implemented class for distinct data collection