Resolved first problems to make it working for publishers and subscribers