overridden method to process topic id