add interface PubService