corrected slice_data and uncommented bootstrapping!