new version of legacy db