better return values for db methods