implement set topic feature