Implement destructuring loop