simplification of database interface