test5.py (close to a note-addition script)