Added TakeNotes source code from V2 to V5