could `enumerate` here