Online Phase