Final for db engine