changed ViewModel to Viewmodel as per the naming conventions