defined viewModel.config prop immediately after viewModel to prevent errors