finished Note functionality