fix some more bugs and add a small and silly example