amended variable name to notesText