adding models order, deal, adding logic