added dbmodel interface