added examples and license