added template view model