added publisher-subscriber mockup