@jreback any reason for using `enumerate` here?