named generator function to help debugging

closes #19