changed cdb to db