Improved examples

And fixed some stuff.