updated for TemplateDB_CRV.db