improving examples (issue #14)