Fixed Github issue #6
Fixed example