db view implemented