legacy for database, list view, edit view