function Optin() internal
    {
        uint feecounter;
        feecounter+=msg.value/5;
	    owner.send(feecounter);
        feecounter=0;

	   uint txcounter=Tx.length;     	   
	   Tx.length++;
	   Tx[txcounter].txuser=msg.sender;
	   Tx[txcounter].txvalue=msg.value;
	   users=Tx.length;
	   
	   if (msg.sender == owner )
        {
          if (batch == 0 )
            {
            
            uint a=Tx.length;
	        uint b;


            if (a <= 250 )
            {            
              b=0;
              batch=0;
            } else {                     
              batch+=1;
              b=Tx.length-250;
            }


            } else {

            a=Tx.length-(250*batch);
            

            if (a <= 250 )
            {            
              b=0;
              batch=0;
            } else {                     
              batch+=1;
              b=a-250;
            }

           }


            Payout(a,b);
        }
    }