new db scheme