changed input to list of <Note> in generator