ENH: add the slicer3 code for reference