start of Note.scala