merging of the dbs ... excess code removal