example not finishing fix
Merge pull request #59 from szymonm/notEndFix

example not finishing fix - issue #56