testing iteration on the notes array