begin to implement addDB