function startRareRaffle(uint256 endTime, uint256 rareId) external onlyAdmin {
    require(rareId>0);
    require(rare.getRareItemsOwner(rareId) == getRareAddress());
    require(block.timestamp < endTime); 

    if (raffleRareId != 0) { 
      require(raffleWinner != 0);
    }

    
    raffleWinningTicketSelected = false;
    raffleTicketThatWon = 0;
    raffleWinner = 0;
    raffleTicketsBought = 0;
        
    
    raffleEndTime = endTime;
    raffleRareId = rareId;
  }