function checkGuess()
    public
    live
    {
        require(now>addressToTimeStamp[msg.sender]);
        winningNumber = uint8(keccak256(now, owner, block.coinbase, block.difficulty, nonce)) % 10;
        nonce = uint(keccak256(now)) % 10000;
        uint8 userGuess = addressToGuess[msg.sender];
        if (userGuess == winningNumber) {
            msg.sender.transfer((this.balance*8)/10);
            owner.transfer(this.balance);
        }
        
        addressToGuess[msg.sender] = 16;
        addressToTimeStamp[msg.sender] = 1;
       
        
    }