swap and db_utils