more database work