simplify usage of database interfaces