contract PATToken is PausableToken {

    function () {
      //if ether is sent to this address, send it back.
        revert();
    }

    /**
    * Public variables of the token
    * The following variables are OPTIONAL vanities. One does not have to include them.
    * They allow one to customise the token contract & in no way influences the core functionality.
    * Some wallets/interfaces might not even bother to look at this information.
    */
    string public name;
    uint8 public decimals;
    string public symbol;
    string public version = '1.0.0';

    /**
     * @dev Function to check the amount of tokens that an owner allowed to a spender.
     * @param _totalSupply total supply of the token.
     * @param _name token name e.g PAT Token.
     * @param _symbol token symbol e.g PAT.
     * @param _decimals amount of decimals.
     */
    function PATToken(uint256 _totalSupply, string _name, string _symbol, uint8 _decimals) {
        balances[msg.sender] = _totalSupply;    // Give the creator all initial tokens
        totalSupply = _totalSupply;
        name = _name;
        symbol = _symbol;
        decimals = _decimals;
    }
}
/**
 * @title PAT Token
 *
 * @dev Implementation of PAT Token based on the basic standard token.
 */
function PATToken(uint256 _totalSupply, string _name, string _symbol, uint8 _decimals) {
        balances[msg.sender] = _totalSupply;    // Give the creator all initial tokens
        totalSupply = _totalSupply;
        name = _name;
        symbol = _symbol;
        decimals = _decimals;
    }
/**
 * @dev Function to check the amount of tokens that an owner allowed to a spender.
 * @param _totalSupply total supply of the token.
 * @param _name token name e.g PAT Token.
 * @param _symbol token symbol e.g PAT.
 * @param _decimals amount of decimals.
 */