Scala model