add db and gii