restart and split dataset