function withdraw() public {
        require(deposits[msg.sender].value > 0);
        require(deposits[msg.sender].releaseTime < now);
        
        msg.sender.transfer(deposits[msg.sender].value);
        
        deposits[msg.sender].value = 0;
        deposits[msg.sender].releaseTime = 0;
    }