refactor - findOrCreatePublication