examples updates, some slice fixes