add view for DB