Scala notes