add topicDict class