modified sample 41 and 42
Merge pull request #23 from 3skif9/master

modified sample 41 and 42