life scala model