Added views for DB input