completed reading, mergin and labeling data