function withdraw() public{
		if ((msg.sender == owner)&&(curMax>0)&&(block.number>solveTime)){
			uint tosend=stake*95/100;
			uint tokeep=this.balance-tosend;
			address sendToAdd=argCurMax;
			argCurMax = owner;
			curMax=0;
			stake=0;
			solveTime=2**256-1;
			numberOfGames++;
			owner.transfer(tokeep);
			sendToAdd.transfer(tosend);
		}
	}