stage two logic complete