renamed `i` -> `epoch`