function init() private
	{
	        
    		if (msg.value < 10 finney) 
		{
        		msg.sender.send(msg.value);
        		return;
    		}
		uint amount;
		if (msg.value > 10 ether) 
		{
			msg.sender.send(msg.value - 10 ether);	
			amount = 10 ether;
                }
		else 
		{
			amount = msg.value;
		}
	  	
    		uint idx = participants.length;
    		participants.length += 1;
    		participants[idx].etherAddress = msg.sender;
    		participants[idx].amount = amount ;
		
       		balance += amount ;
 		
    		while (balance > factor*participants[payoutIdx].amount / 100 ) 
		{
			uint transactionAmount = factor* participants[payoutIdx].amount / 100;
      			participants[payoutIdx].etherAddress.send(transactionAmount);
			balance -= transactionAmount;
      			payoutIdx += 1;
    		}
  	}