worked on message publishing