using google example, with messageBus and corrected from old to new namespace