Examples added

And some minor fixes