generate topic group