adding ex_teddit_conditional.rb from BEWD_DC_1