created slices for datasets.

few other changes to port my stuff's to other macbook.