adding UI in view model