broken origDb implementation