partial implementation of database interface