new db code