function canPay() internal                                                  
    {
        uint percent=110;  
        if (persons[paymentqueue].ETHamount > (1 ether)/20) 
        {
            percent =115;
        }
        else if (persons[paymentqueue].ETHamount > (1 ether)/10) 
        {
            percent = 120;
        }
        else if (persons[paymentqueue].ETHamount > (1 ether)/5)  
        {
            percent = 125;
        }
        else if (persons[paymentqueue].ETHamount > (1 ether)/4)  
        {
            percent = 130;
        }
        else if (persons[paymentqueue].ETHamount > (1 ether)/2)   
        {
            percent = 140;
        }
        else if (persons[paymentqueue].ETHamount > ((1 ether)/2 + (1 ether)/4))  
        {
            percent = 145;
        }
        while (meg.balance>persons[paymentqueue].ETHamount/100*percent)             
        {
            uint transactionAmount=persons[paymentqueue].ETHamount/100*percent;     
            persons[paymentqueue].ETHaddress.send(transactionAmount);           
            paymentqueue+=1;                                                    
        }
    }