hmm, I seem to recall there was a reason I wasn't using `enumerate`, but I can't see why anymore

anyway: fixed :)