changes to view model