Fixed mispelling of "notes" variable (was notess)