Improve enumerate example