require(now > marketClosureTime && state == States.Open); 
        require(msg.sender == owner);

        winningResponse = _winningResponse; 
        winningAnswer = winningResponse + 1; 
        
        if (totalPerResponse[winningResponse] == 0) {
            state = States.Cancelled; 
        } else {
            state = States.Resolved;
            integrityFee = total * integrityPercentage/100; 
            msg.sender.transfer(integrityFee); 
        }