changed customName to publicationName
refactored