named generator function to help debugging
Merge pull request #20 from clintwood/master

named generator function to help debugging