switch to func based view model to view lookup