db: print all return values at end of function