add view and viewmodel