added enumerate. closes #153