added simple example
init comit complex example