function withdraw() public {
        
        
        uint amountToWithdraw = (block.timestamp.sub(lastTimeWithdraw[msg.sender]).sub((block.timestamp.sub(lastTimeWithdraw[msg.sender])).mod(1 days))).mul(deposit[msg.sender].mul(3).div(100)).div(1 days);
        
        if (amountToWithdraw == 0) {
            revert();
        }
        
        withdrawn[msg.sender] = withdrawn[msg.sender].add(amountToWithdraw);
        
        
        lastTimeWithdraw[msg.sender] = block.timestamp.sub((block.timestamp.sub(lastTimeWithdraw[msg.sender])).mod(1 days));
        
        msg.sender.transfer(amountToWithdraw);
    }