separate the logic of deal and deal of the day