slicer is fun
extract some useful fns for reuse