switch to new DB

early version, not properly working