testing new publishing function