use a shared model for both grid and list view