added 'show' function to viewModel (should still condense functions)