rewrote iterator, abstracted into Converter object literal