added examples with this source code