add label logic for note, example, exercise