updated examples, added semicolons