added compDb.js