data preparation workflow