populating view model