minor additions to database interface