added db structure definitions