modified database view, combined database+calib views in apps/ex12