Some errors fixed, examples added