Scala Study Example