Loop logic complete.