populates topics with their titles