working db_view