continued developement of model and started view model