finalize conversion of dummy db routine