dynamically adding subtopics and notes