doa logic