this fixes issue#1
Merge pull request #2 from gerard5/issue1

this fixes issue#1