Writed getNotes(), started writeOutput()