begin views modifications to support new database protocol