Fix issue #19
Merge pull request #20 from duncansmart/patch-1

Fix issue #19