contract CPRO is ERC20, Owned {
    
    string private _name;
    string private _symbol;
    uint8 private _decimals;
    uint256 private _initialSupply;
    
    constructor () public {
        _name = "Crypto Pro";
        _symbol = "CPRO";
        _decimals = 18;
        _initialSupply = 3000000;
        super._mint(_msgSender(), _initialSupply * 1e18);
    }
    
    /**
     * @dev this function expects only the value of tokens to be generated; 
     * conversion to decimals will be handled internally
     */
    function mint (uint256 _amountToMint) public onlyOwner returns (bool) {
        super._mint(owner, _amountToMint * 1e18);
    }

    function name() public view returns (string memory) {
        return _name;
    }

    function symbol() public view returns (string memory) {
        return _symbol;
    }

    function decimals() public view returns (uint8) {
        return _decimals;
    }
    
}
function mint (uint256 _amountToMint) public onlyOwner returns (bool) {
        super._mint(owner, _amountToMint * 1e18);
    }
/**
 * @dev this function expects only the value of tokens to be generated; 
 * conversion to decimals will be handled internally
 */