note data structure