tidying the dataset