add slicing to snd.sample~