added views for nested models