parsing A or B or C and D is added