adding class for processing data