Use enumerate counter instead of i.