Organize raw data