Added additional database interface functions