fixes issue #10
Merge pull request #14 from SimonCropp/master

LGTM, Fixes #10