contributed change from kevinmoorer
Merge pull request #1 from kevinmoorer/master

please add this change to your code