some debugging output for db