replaced .zip(range(...)) with .enumerate()