implemented viewModel, but tested nothing