working on scala model data driven