ViewModel to take relevant state and not appState