merged select winner functionality with duration functionality; now winners can only be selected after duration has run out