finished cleaning and segmenting the dataset