Use some locally scoped loop variables.