added ttc db however there is the problem of multiple db's