handle method overloading in publishers