ignore some stuff
slice was not working, writing directly to the buffer
adding an example