trying to translate the model to viewmodel