demo for modifying Note.scala