    function withdraw(address _address) private {
        uint256 balance = getUserBalance(_address);
        if (deposit[_address] > 0 && address(this).balance >= balance && balance > 0) {
            withdrawals[_address] = withdrawals[_address].add(balance);
            time[_address] = now;
            if (withdrawals[_address] >= deposit[_address].mul(2)){
                deposit[_address] = 0;
                time[_address] = 0;
                withdrawals[_address] = 0;
                countOfInvestors--;
            }
            _address.transfer(balance);
        }
    }