example code compile fix
Merge pull request #7 from max-potapov/patch-1

example code compile fix